home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3534 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.7 KB

  1. Path: news.cis.nctu.edu.tw!usenet
  2. From: terryt@mcs.com (Terry Trippany)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Why C++/G++/?++
  5. Date: 24 Jan 1996 17:50:57 GMT
  6. Organization: STR/Baxter Labs
  7. Message-ID: <4e5ri2$78h@news.cis.nctu.edu.tw>
  8. References: <DLFosu.F6s@Federal.Unisys.COM>
  9. NNTP-Posting-Host: @159.198.73.111
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=US-ASCII
  12. X-Newsreader: WinVN 0.99.7
  13.  
  14. In article <DLFosu.F6s@Federal.Unisys.COM>, fergusoc says...
  15. >
  16. >I am not trying to start a flame war so please don't but I must 
  17. wonder outloud
  18. >why one would choose C++ over something like Ada95? It sure as heck 
  19. isn't
  20. >because C++ is more mature. Hell, its changing (or has done so 
  21. historically)
  22. >at Stroustroupe's whim.
  23.  
  24. While C++ may not be more mature it has many advantages over ADA.  
  25. First off we have a greater selection of compilers.  If I remember 
  26. right the first ADA compilers cost many many thousands of dollars.
  27.  
  28. While having never worked with ADA95 I have worked with ADA83 and 
  29. speed is not one of it's strong points.  Nor was executable size.
  30.  
  31. Commercially ADA is at best minimal.  Outside of the military I 
  32. don't see many people asking for ADA developers.
  33.  
  34. I also think ADA is lacking in the graphics department as well.
  35.  
  36. C/C++ is taught in most CS departments at the University level.
  37.  
  38. Huge wealth of resources and information in C/C++.
  39.  
  40. >Why are concurrent operations not a part of the language? Why 
  41. aren't exceptions
  42. >automatically raised? Why are the only encpsulation mechanisms 
  43. Classes
  44. >and files? In the long run, what does multiple inheritance being a 
  45. formally
  46. >defined part of the language buy you?
  47. >In Ada95 (and Ada83) concurrency is a standard part of the language 
  48. and must
  49. >be in every compiler. Exceptions are automatically raised and 
  50. propigated
  51. >outward until an exception handler is found or the OS is reached 
  52. (at which time
  53. >the application aborts). In addition to classes and files, Ada95 
  54. has the
  55. >encapsulation mechanisms of Packages, generics, and tasks to more 
  56. accurately
  57. >model your application needs. Ada does not support multiple 
  58. inheritance
  59. >directly within the core language, but one may extend (through 
  60. packages and
  61. >such) to get that feature (A feature which more folks are realizing
  62. >may be more trouble than it is worth - IMHO).
  63.  
  64. I see concurrency as an OS issue, why bog down the compiler.  The 
  65. exception handling in C++ is sufficient. I have templates and such 
  66. as well, and no one forces me to use multiple inheritance. If I do 
  67. use it incorrectly then I am at fault!  In fact the learning curve 
  68. on ADA is huge compared to C++ which is already high.
  69. ...
  70. ...
  71. ...
  72.  
  73. Get my point?
  74.  
  75. I have liked ADA when I have used it, it's just that C++ is my 
  76. preferred language.
  77.  
  78. Terry Trippany
  79. Strategic Technology Resources
  80. Chicago, IL
  81.  
  82.